Vibrate

Definition:

Vibrate([duration])

 

Description:

Make the mobile device vibrate for a specified time period and in a specified fashion.

 

Platforms:

All

 

Parameters:

duration - optional

If set to 0 (zero), the device will not vibrate.

If omitted, the device will vibrate for 1 second.

 

Returns:

nothing

 

Notes:

This Method will only work on devices which support vibration.

On Apple devices, if vibration is disabled, this Method will not enable vibration and the device will not vibrate.